package com.framework.core.api.request;


import com.framework.common.request.RequestBaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zhoubb
 * @version V1.0
 * @Date 2020/4/14 0:00
 * @since JDK 1.8
 */
@Getter
@Setter
@ApiModel(value = "第三方用户请求对象")
public class ThirdUserInfoReq extends RequestBaseBean {


    private Long userId;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "头像地址")
    private String avatarUrl;

    @ApiModelProperty(value = "微信平台用户唯一标识")
    private String unionId;

    @ApiModelProperty(value = "微信用户标识")
    private String openId;

    private String serverOpenId;

    @ApiModelProperty(value = "用户类型")
    private String userType;

    @ApiModelProperty(value = "所在城市")
    private String cityId;

    private Integer gender;

    @ApiModelProperty(value = "授权码")
    private String loginCode;

    /**
     * 平台类型
     */
    @ApiModelProperty(value = "平台类型(1:团团钻 2：团粉)")
    private String platType;

    /**
     * 登录来源
     */
    @ApiModelProperty(value = "登录来源(1:微信小程序 2：微信)")
    private String sourceType;
}
